/*
 * SPDX-FileCopyrightText: 2022-2023 liulinsong <liulinsong@kylinos.cn>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 *
 */
#ifndef _FCITX_MODULES_DEVICESTATUSMANAGER_TABLETMODEWATCHERSTRATEGY_H_
#define _FCITX_MODULES_DEVICESTATUSMANAGER_TABLETMODEWATCHERSTRATEGY_H_

#include "statusmanagerwatcher.h"

namespace fcitx {

class TabletModeWatcherStrategy : public StatusManagerWatcher::Strategy {
public:
    explicit TabletModeWatcherStrategy(
        SubjectAvailabilityChangedCallback availabilityChangedCallback);
    ~TabletModeWatcherStrategy() override;

    bool isSubjectDefaultAvailable() const override;
    bool
    isSubjectAvailableFromMethodMessage(dbus::Message &message) const override;
};

} // namespace fcitx

#endif // _FCITX_MODULES_DEVICESTATUSMANAGER_TABLETMODEWATCHERSTRATEGY_H_
